EXTEND: Now try to modify and extend your program! Be sure to meet these minimum technical requirements:

  1. Add a second dancer to your program. Make sure you place it near the top! Name it dancer2.
  2. Add actions to some of your key events and assign them to dancer2 using dot notation.
  3. Use My Key Press to add a new key event. Use any unused key. Assign actions for both dancers inside.
  4. When you're finished, click Submit to turn in your work and go on.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)